#ifndef LOCALVIDEOPLAYER_H
#define LOCALVIDEOPLAYER_H

#include "player.h"
#include <phonon/VideoPlayer>

class LocalVideoPlayer : public Phonon::VideoPlayer, public Player
{
	Q_OBJECT
public:
	static const QString VideoFilePathName;
    LocalVideoPlayer();

	bool playOn(const ValuePacket &values, QWidget *target, QString *errorStr);
	PlayerType type() const;
	void dispose();
	void showMe();
	void hideMe();
signals:
	void deleteMe();
private slots:
	void replay();
private:
	QString m_PlayFilePath;
};

#endif // LOCALVIDEOPLAYER_H
